<%@ page language="java" import="java.util.*,cn.ac.cintcm.dataconverge.researcher.domain.*" pageEncoding="UTF-8"%> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
SystemDict dict = (SystemDict)request.getAttribute("dict");
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  	<TITLE>修改重点学科</TITLE>
<link href="<%=basePath%>index/Themes/com/style.css" rel="stylesheet" type="text/css" />
    <script src="<%=basePath%>index/Scripts/Script.js" language="javascript" type="text/javascript"></script>
	<SCRIPT type="text/javascript">
	function check(){
    var fm=document.forms[0];
    if(fm.name.value==""){
    alert("请填写重点学科名称!");
    fm.name.focus();
    return false;
    }
    return true;
    }
	</SCRIPT>
</head>
  
<body style="text-align:center;">
  <form method="post" action="systemDict.htm?action=add&flag=mod" onSubmit="return check();">
 <table cellpadding="0" cellspacing="0" width="100%" height="100%" id="Table8">
        <tr>
            <td valign="top" height="100%">
                <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" id="Table11">
                    <tr>
                        <td valign="top" >
                            <!------------------ 标题栏 ------------------>
                            <!--- 标题 ---->
                            <table class="idt_tle_mg" cellspacing="0" cellpadding="0" width="100%">
                                <tr>
                                    <td class="idt_tle_i">
                                        <img id="imgForm6" src="<%=basePath%>index/Themes/com/idt_tle_o.gif"></td>
                                    <td class="idt_tle_f1">
                                       重点学科修改</td>
                                </tr>
                            </table>
                            <!--- 内容 --->
                            <div id="tdForm">
                                <table border="0" cellpadding="0" cellspacing="1" width="100%" class="idt_fim_mg">
                                  <tr>
								    <td class="fim_l">重点学科名称</td>
								    <td class="fim_r"><input name="name" type="text" maxlength="128" value="${dict.name}"><font color="red">*</font></td>
								  </tr>
                                </table>
                                <table cellspacing="0" cellpadding="0" width="100%" class="idt_bottom_mg" border="0">
                                    <tr>
                                        <td align="right">
                                            <input  class="com_btn2" id="Button1" name="save" type="submit" value="保存">
                                            <input type="button" value="取消" name="B4" class="com_btn2" id="Button2" onclick="javascript:window.close();">
                                        </td>
                                    </tr>
                                    <input name="id" type="hidden" value="<%=dict.getId() %>" />
                                    <input name="dictType" type="hidden" value="<%=dict.getDictType()%>" />
                                </table>
                            </div>
                </table></form> 
  </body>
</html>
